import { createRouter, createWebHistory } from 'vue-router'
import home from "../view/home.vue"
import setting  from '@renderer/view/setting.vue'

const routes = [
  { name: 'home', path: '/:any(.*)*', component: home },
    { name: 'setting', path: '/setting', component: setting },
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
